package com.qualityin.mall.common.util.object;

import com.google.gson.Gson;

/**
 * @Description:
 * @author:Steven
 * @date 2017/9/11 13:09
 */
public class JSONUtil {
    private static Gson gson = new Gson();
    public static <T> T  toObject(String json,Class<T> beanClass){
        return gson.fromJson(json, beanClass);
    }
}
